package com.lyc.cart.bean;
/**
 * 订单商品类
 */
public class OrderGoods {
   private int id;//订单商品id
    private int orderId;//订单编号
    private int productId;//商品编号
    private int uid;//用户编号
    private int goodsNumber;//商品数量
    private  double goodsPrice;//商品价格

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(int goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    @Override
    public String toString() {
        return "OrderGoods{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", productId=" + productId +
                ", uid=" + uid +
                ", goodsNumber=" + goodsNumber +
                ", goodsPrice=" + goodsPrice +
                '}';
    }
}
